home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-22 | 1.2 KB | 45 lines | [TEXT/CWIE] |
- // main.h
-
- ///////////////////////////////////////////////////////////
-
- void main(void);
- void InstallBlankNotification( void );
- pascal void CustomNMRemove( NMRecPtr nmr );
-
- pascal long MyMenuSelect( Point startPt );
- pascal long MyMenuKey( short ch );
-
- OSErr MyAESend (const AppleEvent *theAppleEvent, AppleEvent *reply,
- AESendMode sendMode, AESendPriority sendPriority,
- long timeOutInTicks, UniversalProcPtr idleProc,
- UniversalProcPtr filterProc);
-
-
- void InstallAEHooks( void );
- inline void pstrcat( StringPtr s1, StringPtr s2 );
- OSErr FSpGetCatInfo( FSSpec *spec, CInfoPBPtr pb, short index );
- short GetIndVolume( short index );
- void DisplayAEVT( const AppleEvent *evt );
-
- void RememberCleanup( void );
- void UndoCleanup( void );
-
- void RememberClose( const AppleEvent * );
- void UndoClose(void);
-
- void RememberSelect( const AppleEvent * );
- // no undo-select, since a selection is always a precursor to something
-
- void RememberOpen( const AppleEvent * );
- void UndoOpen( void );
-
- void UndoLastAction( void );
-
- ///////////////////////////////////////////////////////////
-
- // nb: I would NEVER EVER use this in a real situation... but
- // it works when you're writing a quick hack. ;>
-
- #define CAPS_KEY_IS_DOWN (*(Byte*)(0x17b)&2)
-
-